Latest Questions

WebGL2 how to draw feedback buffer to texture that is passed to shader uniform

Apologies in advance if I don't have all the right terminology, I'm still learning and it takes time to get your head around GPU coding. Anyway, I have a transf

Gitlab upgrade fail 12.1.17 to 12.10.14

I was upgrading gitlab docker image. It's since 11.11.8 to the 14.Y.Z, also follow the document version.(https://docs.gitlab.com/ee/update/index.html#upgrade-pa

Twilio SMS is sent but not Delivered

Twilio SMS is sent but not Delivered I'm using Twilio SMS service in my PHP application. Everything was going well but suddenly, I faced a problem that my SMS w

Express JS TypeError: Cannot read properties of undefined (reading 'id')

I am trying to build a database query with express js to get a recipe from a table that joins a recipe's information with specific ingredients from a third tabl

Firebase React Native Expo login error with google

Error message : (0, _auth.signInWithRedirect) is not a function. (In '(0, _auth.signInWithRedirect)(_firebaseConfig.authentication, _firebaseConfig.provider)',

Validate parameters passed into Constructors during compile time

In a huge project with tens of thousands of Java files there are a couple of Java classes where developers may pass in strings as parameters to a constructor cl

DLQ redrive failed events back to DynamoDB streams?

I have a DynamoDB stream triggering a Lambda, and I want to push any failed events to a DLQ. If the source of a DLQ is an SQS queue, it looks like you can do so

How to setup `vite-plugin-pages`, cannot find module `~pages`

I'm trying to set up file system based routing for a Vue 3 application using Vite with the help of vite-plugin-pages. I created the project using yarn create vi

Why the characters in buffer cannot enter a while loop?

why there is no "*" in output? the input is : abcde[enter key] #include<stdio.h> int main(void){ char ch; while ((ch=getchar( ))== 'e') pr

Why is my create react app giving no output?

I'm doing a tutorial for a basic CRUD app with React and Tailwind, this is my first time setting it up and I'm trying to display a navbar but when i run 'npm ru

how to use keygen.sh API for python

really sorry I am a noob coder trying to make it so users need to have entered a license key that gets stored on the local computer & checks the policy from

PyQT5 and OpenCv2 loading images incorrectly when refreshing

In a nutshell, I currently am trying to load a picture and view it using pyqt5, via QtWidgets.QGraphicsScene. However, after loading the picture, I run some ope

Easiest way to ignore or drop one header row from first page, when parsing table spanning several pages

I am parsing a PDF with tabula-py, and I need to ignore the first two tables, but then parse the rest of the tables as one, and export to a CSV. On the first re

I can't get object with ajax with ASP.NET MVC model

file js: window.onload = function () { var url = window.location.pathname; var id = url.substring(url.lastIndexOf('/') + 1); $(document).ready(funct

Android 12 Splash Screen API - Increasing SplashScreen Duration

I am learning Android's new SplashScreen API introduced with Android 12. I have so far gotten it to work on my Emulator and Google Pixel 4A, but I want to incre

make error in conda env need libpython3.9.a but only have libpython3.9.so

I'm using centos7 and latest anaconda release with python3.9 to build a web server, but pip install uwsgi returned an error: "libpython3.9.a" not found. Only "l

C# convert Chinese date format to English date format

I use OCR technology and recognizing date from national id card of Taiwan. My issue is that this date format is different than normal as below example 52年

How to retrieve in a JS var the dom XML used for the XSL fusion in a screen HTML factory without using an XSL var

All is in the title. I would like to have a JS var with the full dom xml used for the fusion with xsl in a screen html factory. How to retrieve this xml string

Xamarin iOS Crash on Launch mono_handle_exception_internal mini-exceptions.c EXC_BAD_ACCESS (SIGABRT)

When I submit the app to the AppStore, I get an error from Apple, can I ask a question here After a while trying to read the crashlog file Apple attached (I us

How to make a vertical side menu, Jmenus in swing?

I'm relatively new to java swing, so I don't know to change the menu component in swing with a vertical one.

how to integrate Vue Apollo in Vue Vite project?

I'm trying to integrate Vue Apollo in a a Vite project using the composition API. My main.js file look like this: import { createApp } from 'vue' import App fro

How to find image with its source in python markdown2

I am trying to make a static site generator with Python. I coded most of it. But there is a problem. When I add an image to a Markdown file (like this: ![Python

How to connect tradingview to 3commas (stop loss)

How can I put the stop loss in my strategy in tradingview to 3commas bot? I am using this code for trailing profit and stop loss strategy.entry("Short", strateg

Create common layout for Navigation Bar in SwiftUI So other SwiftUI views should reuse same Nav Bar

In iOS SwiftUI, How we can make a common layout for Navigation Bar. So we can use that in all project without re-write the same code. We can use ViewBuilder to

Specifying Reference Category for Outcome Variable in Multinomial Logit Using SKlearn's LogisticRegression

I am trying to fit a multinomial logit model using LogisticRegression module from Sklearn. My outcome (y) has 4 levels. I need to specify one of these levels as

When I use useNavigate then show this error. How can I fixed this problem?

WARNING in ./node_modules/bootstrap/dist/css/bootstrap.min.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postc

BottomNavigationView covering up fragment

When creating a new app in Android Studio, using the Bottom Navigation Activity, I've found that having things in the bottom of the fragment will not be shown,

After I use exe4j packaging, user.dir is no longer the original result

After I use exe4j packaging, user.dir is no longer the original result. Please ask how to solve this problem, that is, how to get the path where the current wor

How can I use Php7.4 in my Apache in Ubuntu 22?

Recently I upgrade my Ubuntu from 20 to 22. I was using Php7.4 in Ubuntu 20 with the Apache server. After upgrading to Ubuntu 22, the Php Upgrades to 8.1 automa

How can I validate WOPI is working on OOS on-prem using PowerShell or REST?

I'm trying to trouble shoot our on-prem OOS and read about the WopiTest framework for Office 365 at MS Docs - WOPI Validation application Does Office Online Ser